﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Universum.Model.Domain.MyClasses;
using System.IO;

namespace Universum.Model.Services.MyClasses
{
	public interface ISubmissionService
	{


		 Universum.Model.Domain.MyClasses.LabWorkSubmission CreateNewSubmissionOrGetBy(Guid guid, string username);


		 void Register(Universum.Model.Domain.MyClasses.LabWorkSubmission submission, HttpPostedFileBase work);
		 void RemoveByLabWorkId(Guid labWorkId);

		 LabWorkSubmission GetSubmisionById(Guid id);

		 Stream GetFileSubmisionStream(LabWorkSubmission submision);

		 IList<LabWorkSubmission> GetSubmisionsByLabWorkId(Guid guid);
	}
}
